package com.supms.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.List;

/**
 * 日常巡查记录对象 supm_daily_inspection
 * 
 * @author LiangHao
 * @date 2022-03-14
 */
public class DailyInspection extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 学年 */
    private String schoolYear;

    /** 学期 */
    private String schoolSemester;

    /** 周次 */
    private Integer weekly;

    /** 星期 */
    private String week;

    /** 巡视区域 */
    @Excel(name = "巡视区域")
    private String patrolArea;

    /** 巡视人 */
    @Excel(name = "巡视人")
    private String supName;

    /** 巡查记录标记（0表未评价，1表已评价） */
    private String dailyInspectionEvalFlag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 日常巡查项表 */
    private List<DailyInspectionItems> dailyInspectionItems;

    public List<DailyInspectionItems> getDailyInspectionItems() {
        return dailyInspectionItems;
    }

    public void setDailyInspectionItems(List<DailyInspectionItems> dailyInspectionItems) {
        this.dailyInspectionItems = dailyInspectionItems;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolYear(String schoolYear) 
    {
        this.schoolYear = schoolYear;
    }

    public String getSchoolYear() 
    {
        return schoolYear;
    }
    public void setSchoolSemester(String schoolSemester) 
    {
        this.schoolSemester = schoolSemester;
    }

    public String getSchoolSemester() 
    {
        return schoolSemester;
    }
    public void setWeekly(Integer weekly) 
    {
        this.weekly = weekly;
    }

    public Integer getWeekly() 
    {
        return weekly;
    }
    public void setWeek(String week) 
    {
        this.week = week;
    }

    public String getWeek() 
    {
        return week;
    }
    public void setPatrolArea(String patrolArea) 
    {
        this.patrolArea = patrolArea;
    }

    public String getPatrolArea() 
    {
        return patrolArea;
    }
    public void setSupName(String supName) 
    {
        this.supName = supName;
    }

    public String getSupName() 
    {
        return supName;
    }
    public void setDailyInspectionEvalFlag(String dailyInspectionEvalFlag) 
    {
        this.dailyInspectionEvalFlag = dailyInspectionEvalFlag;
    }

    public String getDailyInspectionEvalFlag() 
    {
        return dailyInspectionEvalFlag;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolYear", getSchoolYear())
            .append("schoolSemester", getSchoolSemester())
            .append("weekly", getWeekly())
            .append("week", getWeek())
            .append("patrolArea", getPatrolArea())
            .append("supName", getSupName())
            .append("dailyInspectionEvalFlag", getDailyInspectionEvalFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("dailyInspectionItems", getDailyInspectionItems())
            .toString();
    }
}
